package com.ktjiaoyu.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/sysUser")
public class SysUserController {
    private static final Logger LOGGER = LoggerFactory.getLogger(SysUserController.class);
    //查询用户分页数据
//    @RequestMapping(value = "/page")
    @GetMapping("/page")
    public String page() {
        LOGGER.info("进入用户列表页面");
        return null;
    }
//    @RequestMapping(value = "/save",method = RequestMethod.POST)
    @PostMapping("/save")
    private String save() {
        LOGGER.info("保存用户信息");
        return null;
    }
}